package com.company.eos.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.company.eos.domain.AmectType;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * @author Real
 * @description 针对表【tb_amect_type(罚金类型表)】的数据库操作Mapper
 * @createDate 2022-04-27 22:51:48
 */
@Mapper
public interface AmectTypeMapper extends BaseMapper<AmectType> {

    /**
     * 查询全部罚款类型
     *
     * @return
     */
    ArrayList<AmectType> searchAllAmectType();

    /**
     * 查找罚款类型页面
     *
     * @param param
     * @return
     */
    ArrayList<HashMap> searchByPage(HashMap param);


    /**
     * 查询数量
     *
     * @param param
     * @return
     */
    long searchTypeCount(HashMap param);


    /**
     * 根据ID查询
     *
     * @param amectTypeId
     * @return
     */
    public HashMap searchById(int amectTypeId);


}




